//
//  AppDelegate.m
//  XMWebTool
//
//  Created by ext.zhangmingwei8 on 2023/12/7.
//

#import "AppDelegate.h"
#import "XMHomeVC.h"
#import "XMWebViewManager.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    self.window = [[UIWindow alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height)];
    self.window.backgroundColor = [UIColor whiteColor];
    UINavigationController *navi = [[UINavigationController alloc] initWithRootViewController:[XMHomeVC new]];
    self.window.rootViewController = navi;
    [self.window makeKeyAndVisible]; // 这句话之后，是否全面屏的相关的宏定义才准确。否则不对。会导致下面用到全面屏的方法的时候不对
    
    // 刷新缓存数据
    [XMWebViewManager reloadLocalUrlArrayAction];
    
    return YES;
}

@end
